﻿using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace ZaxLib.Web.UI.WebControls
{
	class GridEnumerator : IEnumerator
	{
		private IGridItem data;

		public GridEnumerator(IGridItem inItem)
		{
			data = inItem;
		}

		Object IEnumerator.Current
		{
			get
			{
				return data.Current;
			}
		}

		public bool MoveNext()
		{
			return data.Next();
		}

		public void Reset()
		{
			data.Reset();
		}
	}
}
